﻿
var print_info;
var print_Qr;

function printerPrintInfo(data, callback) {
    print_info = callback;
    window.external.Printer_str(data, "printerPrintInfo_callback");
}

function printerPrintInfo_callback(receivedData) {
    print_info(receivedData);
}


function printerPrintQr(data, callback) {
    print_Qr = callback;
    window.external.Printer_QR(data, "printerPrintQr_callback");

}

function printerPrintQr_callback(receivedData) {
    print_Qr(receivedData);
}

function printerClear(data, callback) {
    window.external.Clear_lst("", "");
}

